package com.dotflat.fin.PO;

import com.dotflat.fin.domain.ProductSolutionItem;
import com.dotflat.rest.PO.AreableObjectBasePO;
import com.dotflat.rest.domain.AreableObjectBase;
import com.matt.domain.Product;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.List;
import java.util.Set;

/**
 *  收费计划
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ProductSolutionPO extends AreableObjectBasePO {
    // 收费方案名称 金额 启用状态 备注
    @ApiModelProperty("名称")
    private String name;

//    @ApiModelProperty("收款账号id")
//    private String payAccountId;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("启用")
    private Boolean enabled = true;

    @ApiModelProperty("总价格")
    private BigDecimal fullAmount;

    @ApiModelProperty("仅新增时需要，查询时不需要")
    private ProductSolutionItemPO[] products;
}
